package com.qdxwx.data.mapper.company;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.company.CompanyAccountDetail;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
@Repository
public interface CompanyAccountDetailMapper {

    int insert(CompanyAccountDetail detail);

    int update(CompanyAccountDetail detail);

    int deleteById(int id);

    CompanyAccountDetail selectById(int id);

    CompanyAccountDetail selectByOrderId(int orderId);

    List<CompanyAccountDetail> selectList(@Param("e") CompanyAccountDetail detail, @Param("page") PageRequest page);

    long selectCount(@Param("e") CompanyAccountDetail detail);


}
